<!DOCTYPE html>
<html>
{include file="public/head"}

<body>
    {include file="contest/contest-nav"}
    <div class="layui-tab" style="margin-left:50px;margin-right:50px;">
        <ul class="layui-tab-title">
            <li class="layui-this">描述</li>
            <li>题目</li>
            <li>状态</li>
            <li>排名</li>
            <li>讨论</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">内容1</div>
            <div class="layui-tab-item">内容2</div>
            <div class="layui-tab-item">内容3</div>
            <div class="layui-tab-item">内容4</div>
            <div class="layui-tab-item">内容5</div>
        </div>
    </div>
  </div>
  </div>
    {include file="public/foot"}
</body>
<script>
//注意：选项卡 依赖 element 模块，否则无法进行功能性操作
layui.use('element', function() {
    var element = layui.element;

    //…
});
</script>

</html>